package com.snda.sc.auth.data;

/**
 * 字段名的不规范，冗余字段的存在，单词的拼写错误，等诸多问题都是为了兼容老的SC2.0和SGI
 * 
 * @author <a href="mailto:seenoevil.cn@gmail.com">李曦</a><br/>
 *         Created at: 2012-9-28 下午3:04:55
 */
public class GamePlayer {

	// 盛大通行证账号
	private String pt;
	// 身份证
	private String idCard;
	// 是否成年人
	private int applingadult;
	// 是否为禁用用户
	private int forbidden;

	public GamePlayer() {
	}

	public GamePlayer(String pt, String idCard, int applingadult, String forbidden) {
		this.pt = pt;
		this.idCard = idCard;
		this.applingadult = applingadult;

		if (forbidden != null && "yes".equals(forbidden)) this.forbidden = 1;
	}

	public String getPt() {
		return pt;
	}

	public void setPt(String pt) {
		this.pt = pt;
	}

	public String getIdCard() {
		return idCard;
	}

	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}

	public int getApplingadult() {
		return applingadult;
	}

	public void setApplingadult(int applingadult) {
		this.applingadult = applingadult;
	}

	public int getForbidden() {
		return forbidden;
	}

	public void setForbidden(int forbidden) {
		this.forbidden = forbidden;
	}
}
